package com.gcph.zhuoba.main.activitys;

import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.gcph.zhuoba.R;
import com.gcph.zhuoba.main.Fragment.CircleFragment;
import com.gcph.zhuoba.main.Fragment.HelperFragment;
import com.gcph.zhuoba.main.Fragment.NearbyFragment;
import com.gcph.zhuoba.main.Fragment.PersonalFragment;

/**
 * 教师个人中心主页
 * @author heroz
 * 
 */
public class UcenterTutorActivity extends Activity{
	private ImageView iv;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_personal_index);
		iv=(ImageView)findViewById(R.id.img_list);
		ImageView btnBack=(ImageView)findViewById(R.id.btn_back);
		Button btnZiliao=(Button)findViewById(R.id.btn_ziliao);
		Button btnXiangce=(Button)findViewById(R.id.btn_xiangce);
		Button btnDongtai=(Button)findViewById(R.id.btn_dongtai);
		Button btnJiaoan=(Button)findViewById(R.id.btn_jiaoan);
		btnBack.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				UcenterTutorActivity.this.finish();
			}
		});
		btnZiliao.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				iv.setImageResource(R.drawable.ucenter_tutor_ziliao);
			}
		});
		btnXiangce.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				iv.setImageResource(R.drawable.ucenter_tutor_xiangce);
			}
		});
		btnDongtai.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				iv.setImageResource(R.drawable.ucenter_tutor_dongtai);
			}
		});
		btnJiaoan.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				iv.setImageResource(R.drawable.ucenter_tutor_jiaoan);
			}
		});
	}
	
}
